package com.cn.redis2.dao;

import org.springframework.data.redis.serializer.StringRedisSerializer;
import org.springframework.stereotype.Repository;

/**
 * @author Han
 */
@Repository
public class ScriptDao extends BaseRedisDao{
	public String eval(String key){
		return (String) getRedisTemplate().execute(new MySctipt(), new StringRedisSerializer(), new StringRedisSerializer(), null, key);
	}
}
